import { createRouter, createWebHistory } from 'vue-router'
import FAdd from '../views/FAdd.vue'
import FShow from '../views/FShow.vue'
import FUpa from '../views/FUpa.vue'

const routes = [

    {
        path: "/",
        name: "FAdd",
        component: FAdd
    },
    {
        path: "/FShow",
        name: "FShow",
        component: FShow
    },
    {
        path: "/FUpa/:F_Id",
        name: "FUpa",
        component: FUpa
    }

]

const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router